class Membership {
    String name
    BigDecimal discount
    
    static hasMany = [customers:Customer]

    String toString(){
        return name
    }

    static mapping = {
        cache true
        customers cache:true
    }
}
